// 这里面我想自己创建一个插件
// 所以我自己的全局组件
import PageTools from '@/components/PageTools'
import UploadExcel from '@/components/UploadExcel'
import ImageUpload from '@/components/ImageUpload'
import ScreenFull from '@/components/ScreenFull'
import Lang from '@/components/Lang'
import ThemePicker from '@/components/ThemePicker'

export default {
  install(Vue) {
    Vue.component('PageTools', PageTools)
    Vue.component('UploadExcel', UploadExcel)
    Vue.component('ImageUpload', ImageUpload)
    Vue.component('ScreenFull', ScreenFull) // 注册全屏组件
    Vue.component('Lang', Lang) // 注册翻译组件
    Vue.component('ThemePicker', ThemePicker) // 注册换肤组件
  }
}
